<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>view faculty</title>
</head>
<?php
$_SESSION[alogin]="true";
include("header.php");
include("../database.php");
$viewfac=mysql_query("select * from mst_faculty",$cn) or die(mysql_error());
if(mysql_num_rows($viewfac)<1)
{
		echo "<BR><BR><BR><BR><div class=head1> Their is no faculty entry<div>";
		exit;
		
	}
	else
	{
       echo "<div align = center> <font color = blue > <h1><u>Faculty Information </u></h1></div><br>";
     	$rs=mysql_query("select * from mst_faculty");
		while($row=mysql_fetch_array($rs))
		{
		
		echo "<font color=red ><div align=\"center\"<br><strong>".$row['login']."&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href=\"delete.php?id=".$row['login']."\">delete</a></strong><br></div></font>";
		
		}

}

?>
<body>
</body>
</html>
